package com.blb.util;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
/*
分页工具类
* */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Page {
    //总条数
    private Integer totalElements;
    //总页数
    private Integer totalPages;
    //每页条数
    private Integer size;
    //当前页数
    private Integer number;

    private List list;

}
